ward off

Verb
  1. avert, turn away, or repel
    • Ward off danger
  2. prevent the occurrence of; prevent from happening
    • Let's avoid a confrontation
    • head off a confrontation
    • avert a strike
ward off
She uses a spray to ward off mosquitoes.